import request from "@/utils/request"

export default {
  // 历史下单价格
  history(data) {
    return request({
      baseURL: window.APP_GETEWAY.pms,
      url: `/v1/purchase/purchase-process/history-list`,
      method: "post",
      data,
    })
  },
  // 赛盒历史采购价列表
  saiheHistory(data) {
    return request({
      baseURL: window.APP_GETEWAY.pms,
      url: `/v1/irb/irb-purchase-history/list`,
      method: "post",
      data,
    })
  },
  // 备料计划历史记录
  planHistory(data) {
    return request({
      baseURL: window.APP_GETEWAY.pms,
      url: `/v1/purchase-plan/purchase-plan/history`,
      method: "post",
      data,
    })
  },
}
